import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'km',
})
export class KmPipe implements PipeTransform {
  transform(value: number): any {
    return (value / 1000).toFixed(1);
  }
}
